import axios from "../axios";
//首页banner 和分类
export function nftindex(params, loading) {
    return axios({
        url: "/nft/auction/rotationMaps",
        method: "get",
        params: params,
        loading: loading
    });
}
// 首页作品推荐
export function auctionList(data, loading) {
    return axios({
        url: "/nft/auction/list",
        method: "post",
        data: data,
        loading: loading
    });
}
// 首页作者
export function authorList(data, loading) {
    return axios({
        url: "/nft/nft/hotAuthor",
        method: "post",
        data: data,
        loading: loading
    });
}
// 获取收藏夹
export function collectionTypes(params, loading) {
    return axios({
        url: "/nft/collection/types",
        method: "get",
        params: params,
        loading: loading
    });
}
// NFT分类列表
export function nftType() {
    return axios({
        url: "/nft/nft/nftType",
        method: "post"
    });
}
// NFT详情页面
export function nftInfo(data, loading) {
    return axios({
        url: "/nft/nft/info",
        method: "post",
        data: data,
        loading: loading
    });
}
// NFT详情页面
export function nftDetail(data, loading) {
    return axios({
        url: "/nft/my/nft/info",
        method: "post",
        data: data,
        loading: loading
    });
}
// 竞拍详情页面
export function auctionInfo(params, loading) {
    return axios({
        url: "/nft/auction/auctionInfo",
        method: "get",
        params: params,
        loading: loading
    });
}
// 添加藏品
export function addCollection(data, loading) {
    return axios({
        url: "/nft/collection/addCollection",
        method: "post",
        data: data,
        loading: loading
    });
}
// 取消藏品
export function cancelCollection(data, loading) {
    return axios({
        url: "/nft/collection/cancelCollection",
        method: "post",
        data: data,
        loading: loading
    });
}
// 修改新增收藏夹
export function saveType(data, loading) {
    return axios({
        url: "/nft/collection/saveType",
        method: "post",
        data: data,
        loading: loading
    });
}
// 查询收藏品
export function collectionlist(data, loading) {
    return axios({
        url: "/nft/collection/list",
        method: "post",
        data: data,
        loading: loading
    });
}
// 查询收藏夹信息
export function collectionInfo(params, loading) {
    return axios({
        url: "/nft/collection/typeInfo",
        method: "get",
        params: params,
        loading: loading
    });
}
// 参与竞拍 保证金
export function payBond(data, loading) {
    return axios({
        url: "/nft/auction/payBond",
        method: "post",
        data: data,
        loading: loading
    });
}
// 参与竞拍 出价
export function participateIn(data, loading) {
    return axios({
        url: "/nft/auction/participateIn",
        method: "post",
        data: data,
        loading: loading
    });
}
// 查询所有拍卖品
export function auctionLlist(data, loading) {
    return axios({
        url: "/nft/auction/list",
        method: "post",
        data: data,
        loading: loading
    });
}
// 获取所有币种列表 筛选
export function getAllCoinList(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/coinList",
        method: "get",
        params: params,
        loading: loading
    });
}
// 获取所有币种列表 筛选
export function getCoinListByUID(params, loading) {
    return axios({
        url: "/wallet/base/wallet/v1/coinList",
        method: "get",
        params: params,
        loading: loading
    });
}
// 支付拍卖订单
export function payAuctionOrder(data, loading) {
    return axios({
        url: "/nft/auction/payAuctionOrder",
        method: "post",
        data: data,
        loading: loading
    });
}
// 查询NFT交易记录
export function nftTradeLog(data, loading) {
    return axios({
        url: "/nft/auction/nftTradeLog",
        method: "post",
        data: data,
        loading: loading
    });
}
// 查询NFT出价记录
export function auctionRecord(data, loading) {
    return axios({
        url: "/nft/auction/auctionRecord",
        method: "post",
        data: data,
        loading: loading
    });
}
// 创建 NFT
export function nftmint(data, loading) {
    return axios({
        url: "/nft/nft/mint",
        method: "post",
        data: data,
        loading: loading
    });
}
// 导入 NFT
export function nftimport(data, loading) {
    return axios({
        url: "/nft/nft/importNft",
        method: "post",
        data: data,
        loading: loading
    });
}
// 获取个人所有消息
export function commonmessage(params, loading) {
    return axios({
        url: "/nft/common/message",
        method: "get",
        params: params,
        loading: loading
    });
}
// 更改消息状态
export function updateMsgStatus(data, loading) {
    return axios({
        url: "/nft/common/updateMsgStatus",
        method: "post",
        data: data,
        loading: loading
    });
}
// 获取热搜关键词信息
export function hotSearch(params, loading) {
    return axios({
        url: "/nft/common/hotSearch",
        method: "get",
        params: params,
        loading: loading
    });
}
// 我的竞拍
export function auctionCenter(data, loading) {
    return axios({
        url: "/nft/auction/auctionCenter",
        method: "post",
        data: data,
        loading: loading
    });
}
// 我的资产 获取nft
export function myNft(data, loading) {
    return axios({
        url: "/nft/my/nft",
        method: "post",
        data: data,
        loading: loading
    });
}
// 我的发布
export function ownerRelease(data, loading) {
    return axios({
        url: "/nft/auction/ownerRelease",
        method: "post",
        data: data,
        loading: loading
    });
}
// 发起拍卖
export function auctionRelease(data, loading) {
    return axios({
        url: "/nft/auction/release",
        method: "post",
        data: data,
        loading: loading
    });
}
// authorDetail
export function authorDetail(data, loading) {
    return axios({
        url: "/nft/auction/authorDetail",
        method: "post",
        data: data,
        loading: loading
    });
}
// 一口价
export function buyNft(data, loading) {
    return axios({
        url: "/nft/auction/buyNft",
        method: "post",
        data: data,
        loading: loading
    });
}
// nft钱包
export function myWallet(params, loading) {
    return axios({
        url: "/wallet/myWallet",
        method: "get",
        params: params,
        loading: loading
    });
}
///wallet/tradeLogs账单
export function tradeLogs(params, loading) {
    return axios({
        url: "/wallet/tradeLogs",
        method: "get",
        params: params,
        loading: loading
    });
}
//转出
export function exportNft(data, loading) {
    return axios({
        // url: "/nft/exportNft",
        url: "/nft/nftExport",
        method: "post",
        data: data,
        loading: loading
    });
}
//转出手续费
export function analysisFee(params, loading) {
    return axios({
        url: "/nft/analysisFee",
        method: "post",
        data: params,
        loading: loading
    });
}
//盲盒
export function mboxlist(params, loading) {
    return axios({
        url: "/nft/bind-box/queryList",
        method: "get",
        params: params,
        loading: loading
    });
}
//盲盒详情
export function mboxdetail(params, loading) {
    return axios({
        url: "/nft/bind-box/queryDetail",
        method: "get",
        params: params,
        loading: loading
    });
}
//购买盲盒
export function buymbox(data, loading) {
    return axios({
        url: "/nft/bind-box/createOrder",
        method: "post",
        data: data,
        loading: loading
    });
}
//盲盒Record
export function mboxRecord(params, loading) {
    return axios({
        url: "/nft/bind-box/myBoxList",
        method: "get",
        params: params,
        loading: loading
    });
}
//盲盒开
export function openBox(data, loading) {
    return axios({
        url: "/nft/bind-box/openBindBox",
        method: "post",
        data: data,
        loading: loading
    });
}
//钱包支付
export function walletTrade(data, loading) {
    return axios({
        url: "/wallet/trade/v1/walletTrade",
        method: "post",
        data: data,
        loading: loading
    });
}
//nftupdate
export function nftupdate(data, loading) {
    return axios({
        url: "/nft/nft/update",
        method: "post",
        data: data,
        loading: loading
    });
}
//nft统计
export function myStatistics(params, loading) {
    return axios({
        url: "/nft/nft/myStatistics",
        method: "get",
        params: params,
        loading: loading
    });
}
//盲盒统计
export function boxStatis(params, loading) {
    return axios({
        url: "/nft/bind-box/myStatistics",
        method: "get",
        params: params,
        loading: loading
    });
}
//流拍取回
export function retrieveAuctionItems(params, loading) {
    return axios({
        url: "/nft/auction/retrieveAuctionItems",
        method: "get",
        params: params,
        loading: loading
    });
}
///nft/retryMint
export function retryMint(params, loading) {
    return axios({
        url: "/nft/nft/retryMint",
        method: "get",
        params: params,
        loading: loading
    });
}
//盲盒可支付币种
export function payCoin(params, loading) {
    return axios({
        url: "/nft/bind-box/payCoin",
        method: "get",
        params: params,
        loading: loading
    });
}
//设置nft头像
export function changeHeadImg(data, loading) {
    return axios({
        url: "/nft/nft/changeHeadImg",
        method: "post",
        data: data,
        loading: loading
    });
}
// nft列表
export function getNFTHistory(data) {
    return axios({
        url: "/nft/getHistoryList",
        method: "post",
        data: data
    });
}
//nft 详情
export function getNFTHistoryDetail(data) {
    return axios({
        url: "/nft/getHistoryDetail",
        method: "post",
        data: data
    });
}

 //# sourceMappingURL=nft.js.map